package com.hs;

import java.util.concurrent.ConcurrentHashMap;

/**
 * @Author: hs
 * @Description: 是
 * @Date: Create in 16:48 2019/4/16
 */
public class HashMapTest {
    public static void main(String[] args) {
        /*HashMap<Integer,String> hm = new HashMap<>();
        for(int i=1;i< 12;i++){
            hm.put(i*16,"hs"+i);
        }
        hm.put(11111,"hs");*/
        ConcurrentHashMap<Integer,String> conMap = new ConcurrentHashMap();
        for(int i=1;i< 12;i++){
            conMap.put(i*16,"hs"+i);
        }
        conMap.put(17,"hs");
    }
}
